<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<script type="text/javascript" src="js/jquery-2.1.0.js"></script>
      	<script type="text/javascript" src="js/layer/layer.js"></script>
        <script type="text/javascript" src="js/util.js"></script>
        <script type="text/javascript" src="index.js"></script>
        <link rel="stylesheet" href="css/bootstrap.min.css">
		<link rel="stylesheet" href="css/style.css"> 
		<title>鑫三强智能消费系统</title>
	</head>
	<body class="index_bg">
		<div class="index_body">

			<div class="ib_middle_part">
				<span id="syslog"></span>
			</div>
			<div class="ib_left_part">
				<div class="ib_left_part_table">
					<table border="0">
						<tbody>
							<tr>
								<td width="110"><span>刷卡用户</span></td>
								<td><span id="curUsername"></span></td>
							<tr>
							</tr>	
								<td><span>账户余额</span></td>
								<td><span id="curMoney"></span></</td>
							</tr>
							<tr>
								<td>消费金额</td>
								<td><span id="costMoney"></span></td>
							<tr>
							</tr>
								<td>消费后金额</td>
								<td><span id="remainMoney"></span></td>
							</tr>
						</tbody>
					</table>
				</div>
				<a href="javascript:toSysSet();" class="btn_sys set else"><i></i>系统设置</a>
				<a href="javascript:toConsume();" class="btn_sys manage else"><i></i>消费管理</a>
			</div>
			<div class="ib_right_part">
				<div class="ib_rp_body clearfix">
					<div class="ib_rp_body_left">
						<label>消费金额(元)：<span id="quatoTip"></span></label>
						<!--<div id="input_money"></div>-->
						<input type="number" id="input_money" />
					</div>
					<div class="ib_rp_body_right">
						<a class="btn_all small green " onclick="javascript:doConsume();">确认</a>	
						<a class="btn_all small red t10 " id="clearNum" onclick="javascript:clearMoney();">清除</a>	
					</div>
				</div>
				<div class="ib_rp_body_func index">
					<a class="btn_all" onclick="javascript:toConsumeBackFromIndex();">回退最后一笔</a>	
					<a class="btn_all l30" onclick="javascript:srchTodayFlow();">当日交易流水</a>	
				</div>
				
				<!--页面信息提示语-->
				<div id="cardTip" class="index_alert">
					<span id="syTime"></span>秒内不进行交易操作,刷卡信息将失效
				</div>
			</div>
		</div>
	
		<div id="pwdDiv" style="display:none" >
			<div class="pt_body_list_table" style="padding-top: 0px;">
				<table border="0" style="height: 100px;">
					<tbody>
						<tr>
							<td width="35%">请输入密码：</td>
							<td width="65%" style="padding: 10px 0;">
								<input type="number" id="operPwd" style="width:346px;"/>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="ib_rp_body_func" style="padding-top: 0px;">
				<a href="javascript:submitPwd(1);" class="btn_all"  style="margin-right: 20px;">确定</a>	
				<a href="javascript:cancelSubmitPwd(1);" class="btn_all">取消</a>	
			</div>
      	</div>
      	
      	
      	
      	<div id="backPwdDiv" style="display:none" >
			<div class="pt_body_list_table" style="padding-top: 0px;">
				<table border="0" style="height: 100px;">
					<tbody>
						<tr>
							<td width="35%">请输入密码：</td>
							<td width="65%" style="padding: 10px 0;">
								<input type="number" id="backOperPwd" style="width:346px;"/>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="ib_rp_body_func" style="padding-top: 0px;">
				<a href="javascript:submitBackPwd();" class="btn_all"  style="margin-right: 20px;">确定</a>	
				<a href="javascript:cancelBackSubmitPwd();" class="btn_all">取消</a>	
			</div>
      	</div>
      	
      	
      	<div id="consumePwdDiv" style="display:none" >
      		<div class="pt_body_list_table" style="padding-top: 0px;">
				<table border="0">
					<tbody>
						<tr>
							<td width="35%">交易金额：</td>
							<td width="65%" style="padding: 10px 0;">
								<input type="text" id="confirm_money" style="width:346px;" readonly="readonly"/>
							</td>
						</tr>
						<tr>
							<td width="35%">请输入密码：</td>
							<td width="65%" style="padding: 10px 0;">
								<input type="password" id="consumePwd" style="width:346px;"/>
							</td>
						</tr>
					</tbody>
				</table>
				
			</div>
      	</div>
      	
      	<div id="consumeConfirm" style="display:none" >
      		<div class="pt_body_list_table">
				<table border="0">
					<tbody>
						<tr>
							<td width="35%">交易金额：</td>
							<td width="65%" style="padding: 10px 0;">
								<input type="text" id="confirm_money_nopwd" style="width:346px;" readonly="readonly"/>
							</td>
						</tr>
						
					</tbody>
				</table>
				
			</div>
			
			<div class="ib_rp_body_func">
				<a href="javascript:goConsumeWithNoPwd();" class="btn_all"  style="margin-right: 20px;">确定</a>	
				<a href="javascript:closeConsumeWithNoPwd();" class="btn_all">取消</a>	
			</div>
      	</div>
	
	</body>
	
</html>